Change IP address & Mask address (C++) Windows

Introduction This is one way of changing IP address & mask address in C++ using Iphlpapi.h. It’s a simple program, no UI for you, sorry… Use GetAdaptersInfo to get adapters information. Then use GetPerAdapterInfo to get information for every ethernet network card. The information contains IP address. Use DeleteIPAddress remove the old IP address. Use … Continue reading Change IP address & Mask address (C++) Windows